//
// Created by yyancy on 2019/10/26.
//

#ifndef GAME___STATE_H
#define GAME___STATE_H

#define LINE 3
typedef struct {
    int board[LINE][LINE];    // -1 = empty, 0 = O, 1 = X
    int turn;           // O first
    char c;
} state;


void init(state *s);

void display(const state *s);

#endif //GAME___STATE_H
